package com.liy.cloud.common.yy.service;

import com.liy.cloud.common.yy.entity.YyMoneyDetail;
import com.liy.cloud.common.yy.entity.YyMoneyMain;
import com.das.framework.common.service.IBaseService;

import java.util.List;

/**
 * 设备钱箱信息主表 Service服务接口定义
 * @ClassName: YyMoneyMainService
 * @Description: 
 * @author: libs
 * @date: 2018-08-15 20:22:42
 */
public interface YyMoneyMainService extends IBaseService<YyMoneyMain, String>{

    /**
     * 保存钱箱的接口数据
     * @param yyMoneyMainEntity
     * @param yyMoneyDetailList
     * @throws Exception
     */
    void saveMoneyDevice(YyMoneyMain yyMoneyMainEntity, List<YyMoneyDetail> yyMoneyDetailList) throws Exception;

    /**
     * 修改采集状态
     * @param yyMoneyMainEntity
     * @return
     */
    void updateSign(YyMoneyMain yyMoneyMainEntity);
}            